/*
package com.enjoyor.health.HGPT.core.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
import org.springframework.security.web.DefaultSecurityFilterChain;

*/
/**
 * @author Zhu Min
 * @date 2023/11/7 11:29
 *//*

@Configuration
//@EnableWebSecurity(debug = true)
public class SecurityConfig extends WebSecurityConfigurerAdapter {

    @Override
    protected void configure(HttpSecurity http) throws Exception {
        http.authorizeRequests()
                .antMatchers("/aiHealthReport/**",
                        "/aiHealthReport",
                        "/aiHealthReportDetail").anonymous()
//                .antMatchers("/index.html",
//                        "/appiont.html",
//                        "/packet.html",
//                        "/swagger-ui.html").authenticated()
                .anyRequest().authenticated()
                .and().formLogin()
                .and()
                .cors()
                .and()
                .csrf()
                .disable();
        //super.configure(http);

    }

}
*/
